<?php /* Smarty version Smarty-3.1.13, created on 2013-03-12 17:13:58
         compiled from "..\application\admin\views\main.tpl" */ ?>
<?php /*%%SmartyHeaderCode:30856513d869143e299-36147927%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd56ca0817a25777351165ade7b79a949cdaf7286' => 
    array (
      0 => '..\\application\\admin\\views\\main.tpl',
      1 => 1363079637,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '30856513d869143e299-36147927',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_513d86914e9da2_90751671',
  'variables' => 
  array (
    'menuList' => 0,
    'item' => 0,
    'subItem' => 0,
    'username' => 0,
    'userName' => 0,
    'password' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_513d86914e9da2_90751671')) {function content_513d86914e9da2_90751671($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("templates/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<div id="body" class="clearfix">
	<div id="submenu" class="submenu fl w200 mt20 ml10 radius_5 shadow_5">
		<ul class="mainMenu">
			<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['menuList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
			<li class="tc lh25"><span class="mainMenuName"><?php echo $_smarty_tpl->tpl_vars['item']->value['modelName'];?>
</span>
				<?php if (count($_smarty_tpl->tpl_vars['item']->value['menus'])>0){?>
					<ul class="subMenu" id="subMenu">
						<?php  $_smarty_tpl->tpl_vars['subItem'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['subItem']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['item']->value['menus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['subItem']->key => $_smarty_tpl->tpl_vars['subItem']->value){
$_smarty_tpl->tpl_vars['subItem']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['subItem']->key;
?>
							<li class="subMenuName tl ml20">
								<a href="javascript:void(0)" rel="<?php echo $_smarty_tpl->tpl_vars['subItem']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['subItem']->value['menuName'];?>
</a>
							</li>
						<?php } ?>
					</ul>
				<?php }?>
			</li>
			<?php } ?>
		</ul>
	</div>
	<div id="content" class="fl ml20 p10">
		<h1>jlcms后台管理</h1>
		<?php echo $_smarty_tpl->tpl_vars['username']->value;?>
,登录成功
		<!-- 
		用户：<?php echo $_smarty_tpl->tpl_vars['userName']->value;?>
<br />
		密码：<?php echo $_smarty_tpl->tpl_vars['password']->value;?>

		 -->
		
		<div class="bnt_grey w100 bc lh30 f12 hand tc">
			效果测试
		</div>
		
	</div>
</div>

<script type="text/javascript">
		$("#subMenu a").click(function(){
			var url=this.rel;
			$.get(url,function(data){
				$("#content").html(data);
			});
		});
	</script>

<?php echo $_smarty_tpl->getSubTemplate ("templates/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<?php }} ?>